import request from '@/utils/request'

export function fetchDataGovernanceTaskLogList(data) {
  return request({
    url: '/system/datagovernance/DataGovernanceTaskLog/list',
    method: 'post',
    data
  })
}

export function getDataGovernanceTaskLog(data) {
  return request({
    url: '/system/datagovernance/DataGovernanceTaskLog/logDetailCat',
    method: 'get',
    params: data
  })
}

export function createDataGovernanceTaskLog(data) {
  return request({
    url: '/system/datagovernance/DataGovernanceTaskLog/add',
    method: 'post',
    data
  })
}

export function updateDataGovernanceTaskLog(data) {
  return request({
    url: '/system/datagovernance/DataGovernanceTaskLog/update',
    method: 'post',
    data
  })
}

export function deleteDataGovernanceTaskLog(ids) {
  return request({
    url: '/system/datagovernance/DataGovernanceTaskLog/delete',
    method: 'post',
    data: { ids }
  })
}
export function fetchDataGovernanceList(data) {
  return request({
    url: '/system/datagovernance/DataGovernanceTask/list',
    method: 'post',
    data
  })
}

